package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiRequestNewSharestockData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiRequestNewSharestockData   {
  @JsonProperty("pageSize")
  private Integer pageSize = null;

  @JsonProperty("index")
  private Integer index = null;

  @JsonProperty("searchKey")
  private String searchKey = null;

  @JsonProperty("custLevelSearch")
  private Integer custLevelSearch = null;

  @JsonProperty("relationTypeSearch")
  private Integer relationTypeSearch = null;

  @JsonProperty("startDate")
  private String startDate = null;

  @JsonProperty("endDate")
  private String endDate = null;

  public ApiRequestNewSharestockData pageSize(Integer pageSize) {
    this.pageSize = pageSize;
    return this;
  }

  /**
   * 分页查询的一页记录数，默认为20
   * @return pageSize
  **/
  @ApiModelProperty(example = "20", value = "分页查询的一页记录数，默认为20")


  public Integer getPageSize() {
    return pageSize;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public ApiRequestNewSharestockData index(Integer index) {
    this.index = index;
    return this;
  }

  /**
   * 页码数，第一页为0
   * @return index
  **/
  @ApiModelProperty(example = "1", value = "页码数，第一页为0")


  public Integer getIndex() {
    return index;
  }

  public void setIndex(Integer index) {
    this.index = index;
  }

  public ApiRequestNewSharestockData searchKey(String searchKey) {
    this.searchKey = searchKey;
    return this;
  }

  /**
   * 搜索关键字
   * @return searchKey
  **/
  @ApiModelProperty(example = "123456", value = "搜索关键字")


  public String getSearchKey() {
    return searchKey;
  }

  public void setSearchKey(String searchKey) {
    this.searchKey = searchKey;
  }

  public ApiRequestNewSharestockData custLevelSearch(Integer custLevelSearch) {
    this.custLevelSearch = custLevelSearch;
    return this;
  }

  /**
   * 客户级别：1一级，2二级，3三级，4四级，5五级
   * @return custLevelSearch
  **/
  @ApiModelProperty(example = "1", value = "客户级别：1一级，2二级，3三级，4四级，5五级")


  public Integer getCustLevelSearch() {
    return custLevelSearch;
  }

  public void setCustLevelSearch(Integer custLevelSearch) {
    this.custLevelSearch = custLevelSearch;
  }

  public ApiRequestNewSharestockData relationTypeSearch(Integer relationTypeSearch) {
    this.relationTypeSearch = relationTypeSearch;
    return this;
  }

  /**
   * 1-服务关系;2-签约关系;10-开发关系(默认开发关系)
   * @return relationTypeSearch
  **/
  @ApiModelProperty(example = "10", value = "1-服务关系;2-签约关系;10-开发关系(默认开发关系)")


  public Integer getRelationTypeSearch() {
    return relationTypeSearch;
  }

  public void setRelationTypeSearch(Integer relationTypeSearch) {
    this.relationTypeSearch = relationTypeSearch;
  }

  public ApiRequestNewSharestockData startDate(String startDate) {
    this.startDate = startDate;
    return this;
  }

  /**
   * 中期开始日期
   * @return startDate
  **/
  @ApiModelProperty(example = "2019-02-18T00:00:00.000+0000", value = "中期开始日期")


  public String getStartDate() {
    return startDate;
  }

  public void setStartDate(String startDate) {
    this.startDate = startDate;
  }

  public ApiRequestNewSharestockData endDate(String endDate) {
    this.endDate = endDate;
    return this;
  }

  /**
   * 中签结束日期
   * @return endDate
  **/
  @ApiModelProperty(example = "2019-02-18T00:00:00.000+0000", value = "中签结束日期")


  public String getEndDate() {
    return endDate;
  }

  public void setEndDate(String endDate) {
    this.endDate = endDate;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiRequestNewSharestockData apiRequestNewSharestockData = (ApiRequestNewSharestockData) o;
    return Objects.equals(this.pageSize, apiRequestNewSharestockData.pageSize) &&
        Objects.equals(this.index, apiRequestNewSharestockData.index) &&
        Objects.equals(this.searchKey, apiRequestNewSharestockData.searchKey) &&
        Objects.equals(this.custLevelSearch, apiRequestNewSharestockData.custLevelSearch) &&
        Objects.equals(this.relationTypeSearch, apiRequestNewSharestockData.relationTypeSearch) &&
        Objects.equals(this.startDate, apiRequestNewSharestockData.startDate) &&
        Objects.equals(this.endDate, apiRequestNewSharestockData.endDate);
  }

  @Override
  public int hashCode() {
    return Objects.hash(pageSize, index, searchKey, custLevelSearch, relationTypeSearch, startDate, endDate);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiRequestNewSharestockData {\n");
    
    sb.append("    pageSize: ").append(toIndentedString(pageSize)).append("\n");
    sb.append("    index: ").append(toIndentedString(index)).append("\n");
    sb.append("    searchKey: ").append(toIndentedString(searchKey)).append("\n");
    sb.append("    custLevelSearch: ").append(toIndentedString(custLevelSearch)).append("\n");
    sb.append("    relationTypeSearch: ").append(toIndentedString(relationTypeSearch)).append("\n");
    sb.append("    startDate: ").append(toIndentedString(startDate)).append("\n");
    sb.append("    endDate: ").append(toIndentedString(endDate)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

